Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix defered unlock of pin lock in AddR #4562

Merged
merged 1 commit into from
Jan 9, 2018
Merged

Conversation

Stebalien
Copy link
Member

This wasn't causing any problems because this function is actually dead code (but possibly useful?).

Should we just remove this function?

This wasn't causing any problems because this function is actually dead
code (but possibly useful?).

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@ghost ghost assigned Stebalien Jan 8, 2018
@ghost ghost added the status/in-progress In progress label Jan 8, 2018
@Stebalien Stebalien requested a review from a user January 8, 2018 06:46
Copy link
Contributor

@kevina kevina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kevina
Copy link
Contributor

kevina commented Jan 8, 2018

I would say to remove it, but it is exported so it could conceivable be used by another package outside of go-ipfs. I think we have a lot of dead code like this.

@Kubuxu (or anyone else) is there a way to detect all unused exported functions in go-ipfs?

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'd like to remove all these Add*() util funcs once the Core API is fully ready.

@whyrusleeping whyrusleeping merged commit a7d710e into master Jan 9, 2018
@ghost ghost removed the status/in-progress In progress label Jan 9, 2018
@whyrusleeping whyrusleeping deleted the fix/addr-pinlock branch January 9, 2018 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants